package com.pk.platform.domain.charge;

import java.io.Serializable;

import com.pk.platform.util.StringConverter;

public class TempIndexRef implements Serializable {

	private Long id; //主键
	
	private Integer sort; //排序
	
	private Double amount; //金额
	
	private Integer team; //哪一组
	
	private ChargeTemp chargeTemp;
	
	private ChargeIndex chargeIndex;
	
	//整数金额
	public String getIntAmount()
	{
		return StringConverter.toNBitString(amount, 0);
	}
	
	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Integer getTeam() {
		return team;
	}

	public void setTeam(Integer team) {
		this.team = team;
	}

	public ChargeTemp getChargeTemp() {
		return chargeTemp;
	}

	public void setChargeTemp(ChargeTemp chargeTemp) {
		this.chargeTemp = chargeTemp;
	}

	public ChargeIndex getChargeIndex() {
		return chargeIndex;
	}

	public void setChargeIndex(ChargeIndex chargeIndex) {
		this.chargeIndex = chargeIndex;
	}
	
}
